home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
misc
/
a-d
/
3.0iupdate
/
macros.lha
/
DisplayReadMe.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-09-20
|
855b
|
29 lines
/* $VER: DisplayReadMe.rexx 1.0 (02.9.94)
Copyright 1994 Soft-Logik Publishing Corporation
May not be distributed without Soft-Logik Publishing Corporation's express written permission */
/* Purpose: Displays ReadMe.Now file from PageStream3: directory */
options results /* enable results */
address 'PAGESTREAM'
getscreenname
screen=result
cmd = 'version >t:temp'
address command cmd
if open(.IFile,'t:temp','R') then do
line = readln(.IFile)
ksver = strip(word(line,words(line)/2),t,' ,') /* get kickstart version */
if (ksver>='39') then name='sys:utilities/multiview PageStream3:ReadMe.Now pubscreen '||screen
else name='sys:utilities/amigaguide PageStream3:ReadMe.Now pubscreen '||screen
end
/* Display ReadMe File */
address command name
/* Cleanup */
call close(.IFile)
address command 'delete t:temp quiet'
EXIT